package com.example.analysis.mapper;

import com.example.analysis.entity.EvaluateListStudent;
import com.example.analysis.entity.EvaluateListStudentExample;
import com.example.analysis.entity.EvaluateListStudentKey;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EvaluateListStudentDao {
    long countByExample(EvaluateListStudentExample example);

    int deleteByExample(EvaluateListStudentExample example);

    int deleteByPrimaryKey(EvaluateListStudentKey key);

    int insert(EvaluateListStudent record);

    int insertSelective(EvaluateListStudent record);

    List<EvaluateListStudent> selectByExample(EvaluateListStudentExample example);

    EvaluateListStudent selectByPrimaryKey(EvaluateListStudentKey key);

    int updateByExampleSelective(@Param("record") EvaluateListStudent record, @Param("example") EvaluateListStudentExample example);

    int updateByExample(@Param("record") EvaluateListStudent record, @Param("example") EvaluateListStudentExample example);

    int updateByPrimaryKeySelective(EvaluateListStudent record);

    int updateByPrimaryKey(EvaluateListStudent record);

    double[] selectScoreByQuestId(String questId);
}